import axios from "axios";

const instance = axios.create({
    baseURL: 'http://127.0.0.1:3003',
    timeout: 20000
})

instance.interceptors.request.use(config =>{

    return config
},err =>{
    return Promise.reject(err)
})


instance.interceptors.response.use(res =>{
    return res
},err =>{
    return Promise.reject(err)
})

export default instance